
package system.base;

import framework.core.*;

/*
	Author    :Sindy
	CreateTime:2008-01-30 15:18:36
*/
public class InoutTypeSearchEvent extends SearchEvent
{

	private String m_id = "" ; // all

	private String m_code = "" ; // all

	private String m_name = "" ; // all

	private int m_display_order = Value.NULL_INT ; // all

	private String m_inout_type = "" ; // all

	private String m_remark = "" ; // all

	private String m_create_user_id = "" ; // all

	private String m_create_user = "" ; // all

	private String m_create_time = "" ; // all

	private String m_last_update_user_id = "" ; // all

	private String m_last_update_user = "" ; // all

	private String m_last_update_time = "" ; // all
		

public InoutTypeSearchEvent() 
{
	super();
	
	setOrderField(InoutType.ID);
		
}



	public String getId()
	{
		return m_id ;
	}
	public void setId(String v)
	{
		m_id = v;
	}

	public String getCode()
	{
		return m_code ;
	}
	public void setCode(String v)
	{
		m_code = v;
	}

	public String getName()
	{
		return m_name ;
	}
	public void setName(String v)
	{
		m_name = v;
	}

	public int getDisplayOrder()
	{
		return m_display_order ;
	}
	public void setDisplayOrder(int v)
	{
		m_display_order = v;
	}

	public String getInoutType()
	{
		return m_inout_type ;
	}
	public void setInoutType(String v)
	{
		m_inout_type = v;
	}

	public String getRemark()
	{
		return m_remark ;
	}
	public void setRemark(String v)
	{
		m_remark = v;
	}

	public String getCreateUserId()
	{
		return m_create_user_id ;
	}
	public void setCreateUserId(String v)
	{
		m_create_user_id = v;
	}

	public String getCreateUser()
	{
		return m_create_user ;
	}
	public void setCreateUser(String v)
	{
		m_create_user = v;
	}

	public String getCreateTime()
	{
		return m_create_time ;
	}
	public void setCreateTime(String v)
	{
		m_create_time = v;
	}

	public String getLastUpdateUserId()
	{
		return m_last_update_user_id ;
	}
	public void setLastUpdateUserId(String v)
	{
		m_last_update_user_id = v;
	}

	public String getLastUpdateUser()
	{
		return m_last_update_user ;
	}
	public void setLastUpdateUser(String v)
	{
		m_last_update_user = v;
	}

	public String getLastUpdateTime()
	{
		return m_last_update_time ;
	}
	public void setLastUpdateTime(String v)
	{
		m_last_update_time = v;
	}
		



	public String viewId() throws Exception
	{
		return Value.view(getId());
	}

	public String viewCode() throws Exception
	{
		return Value.view(getCode());
	}

	public String viewName() throws Exception
	{
		return Value.view(getName());
	}

	public String viewDisplayOrder() throws Exception
	{
		return Value.view(getDisplayOrder());
	}

	public String viewInoutType() throws Exception
	{
		return Value.view(getInoutType());
	}

	public String viewRemark() throws Exception
	{
		return Value.view(getRemark());
	}

	public String viewCreateUserId() throws Exception
	{
		return Value.view(getCreateUserId());
	}

	public String viewCreateUser() throws Exception
	{
		return Value.view(getCreateUser());
	}

	public String viewCreateTime() throws Exception
	{
		return Value.view(getCreateTime());
	}

	public String viewLastUpdateUserId() throws Exception
	{
		return Value.view(getLastUpdateUserId());
	}

	public String viewLastUpdateUser() throws Exception
	{
		return Value.view(getLastUpdateUser());
	}

	public String viewLastUpdateTime() throws Exception
	{
		return Value.view(getLastUpdateTime());
	}


	public Conditions toConditions() throws Exception
	{
		Conditions c = super.toConditions();

	c.add(getCondition(InoutType.ID,getId()));

	c.add(getCondition(InoutType.CODE,getCode()));

	c.add(getCondition(InoutType.NAME,getName()));

	c.add(getCondition(InoutType.DISPLAY_ORDER,getDisplayOrder()));

	c.add(getCondition(InoutType.INOUT_TYPE,getInoutType()));

	c.add(getCondition(InoutType.REMARK,getRemark()));

	c.add(getCondition(InoutType.CREATE_USER_ID,getCreateUserId()));

	c.add(getCondition(InoutType.CREATE_USER,getCreateUser()));

	c.add(getCondition(InoutType.CREATE_TIME,getCreateTime()));

	c.add(getCondition(InoutType.LAST_UPDATE_USER_ID,getLastUpdateUserId()));

	c.add(getCondition(InoutType.LAST_UPDATE_USER,getLastUpdateUser()));

	c.add(getCondition(InoutType.LAST_UPDATE_TIME,getLastUpdateTime()));
		

			
		return c ;
	}
	
//add by Sindy start

//add by Sindy end
}
